package gruppenkalenderProjekt.data;


import java.rmi.RemoteException;
import java.util.Vector;

/**
 * Implementierungsklasse des Interface <code>Kalender</code>.
 * @see Kalender
 * @author Gruppe 2
 */

// <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
// #[regen=yes,id=DCE.CF6335AA-A1F9-0838-1CEF-98D1DAA69D7D]
// </editor-fold> 
public class KalenderImpl extends java.rmi.server.UnicastRemoteObject
        implements Kalender {

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.6520FF21-E968-39ED-61F5-4C6143F7A9D6]
    // </editor-fold> 
    private int kalender_ID;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.EE3184EF-5859-CB17-7341-52C5CC2C5990]
    // </editor-fold> 
    private String name;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.D4F02C7D-D1BD-18D2-E89F-379ECC4C2F23]
    // </editor-fold> 
    private Vector<Kalendereintrag> kalendereintraege;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.48884821-AAEB-CB1F-C08F-9793F01A7CE0]
    // </editor-fold> 
    private Vector<Benutzer> benutzer;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.B9C66A9C-A7E2-EC27-CD55-69EACED892BA]
    // </editor-fold> 
    private Benutzer besitzer;



     public KalenderImpl() throws RemoteException {
		super();
	}


    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.9ABCD784-6161-458D-E43F-DDA395039623]
    // </editor-fold> 
    public int getKalenderID () throws java.rmi.RemoteException{
        return this.kalender_ID;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.07920631-5CA1-CC9C-E4DC-E7135FA42E8A]
    // </editor-fold> 
    public void setKalenderID (int id) throws java.rmi.RemoteException {
        this.kalender_ID = id;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.E8467601-45F3-FFB0-3B13-CEBC034516A2]
    // </editor-fold> 
    public String getName () throws java.rmi.RemoteException {
        return this.name;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.6F2C982C-79FF-28FA-7938-41161DDF1AC1]
    // </editor-fold> 
    public void setName (String name) throws java.rmi.RemoteException{
        this.name = name;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.5F71179D-9C09-B705-1A0A-778FB8BDCEEF]
    // </editor-fold> 
    public Vector<Kalendereintrag> getKalendereintraege () throws java.rmi.RemoteException{
        return this.kalendereintraege;

    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.35846E20-1BA2-3668-C473-44BF6F947930]
    // </editor-fold> 
    public void setKalendereintraege (Vector<Kalendereintrag> kalendereintraege) throws java.rmi.RemoteException{
        this.kalendereintraege = kalendereintraege;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.4E4AD3CE-263F-D8AD-2C29-BE94867DCA28]
    // </editor-fold> 
    public Vector<Benutzer> getBenutzer () throws java.rmi.RemoteException{
        return this.benutzer;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.43C0DA19-62A1-6F53-166D-9EAAF1D66CB9]
    // </editor-fold> 
    public void setBenutzer (Vector<Benutzer> benutzer) throws java.rmi.RemoteException{
        this.benutzer = benutzer;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.C650686F-F3AA-4328-E7BF-2C38C18A649E]
    // </editor-fold> 
    public Benutzer getBesitzer () throws java.rmi.RemoteException{
        return this.besitzer;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.15A7579A-D4FE-B8C9-EAA4-43CB93604B2B]
    // </editor-fold> 
    public void setBesitzer (Benutzer besitzer) throws java.rmi.RemoteException{
        this.besitzer = besitzer;
    }

}

